home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-01-09 | 2.8 KB | 68 lines | [TEXT/ttxt] |
- MidiLib v1.00
- ©1988 by Michael Williams
-
- MidiLib is a general purpose desk accessory which uses driver files to
- configure itself to send and receive MIDI SYSEX data to/from various MIDI
- devices.
-
- These driver files are written in a script language which is similar to
- English in hopes that knowledgeable users may write their own drivers as
- new MIDI devices are introduced to the marketplace.
-
- MidiLib should be installed using the FONT/DA MOVER utility provided with
- Apple system software.
-
- Since MidiLib must commandeer the serial port (it always uses the modem
- port), its behavior may cause problems for some applications which don't
- police for this action. I use MidiPaint which detects if a DA has stolen
- the serial port and steals it back (give your application a few seconds
- to recover when returning from MidiLib). If all else fails, MidiLib should
- always work from Finder.
-
- When first invoked, MidiLib disables the send/receive menu items. When a
- driver has been successfully loaded, these items are enabled. In an effort
- to provide the most utility to the user, the driver files are created with
- the type TEXT. Many editors can import/export this file type.
-
- A MidiLib driver consists of command lines which begin with a keyword and
- end with a carriage return. The driver must contain a valid MidiLib ID
- followed by a valid DriverID. It must also contain both Backup and Restore
- script markers and must end with the End script marker.
-
- The driver command set is as follows:
-
- .MidiLib <version#> - MidiLibID
- .DriverID <4 char ID> - DriverID (filetype)
- .Backup - Backup script marker
- .Restore - Restore script marker
- .End - End script marker
- .Send <hex><hex>* - Send hex string
- .SendFile <# chars> - Send from file
- .Delay <# ticks> - Delay (tick = 1/60 sec)
- .Match <hex><hex>* - Match incoming string
- .WriteFile <# chars> - Write incoming chars to file
-
- Drivers have been provided to serve as examples. I like to divide my
- backups into two major categories: Voice Data and Setup Data. That way
- I can trade voices without clobbering my particular setup.
-
- The MT32 driver will backup/restore MT32 setups. It requires that the
- MT32 Device ID be set to 17. I have included a sample setup which sets
- the reverb to tape delay mode. It also places Part 1 into multiple assign
- mode.
-
- The TX81Z driver will backup/restore the 32 "I bank" voice definitions.
- It requires that the TX81Z be set to channel 11 (and the exclusive:on
- option be set). I just got my TX81Z so I included a bank of factory voices
- in case someone wanted to use them for some unimaginable purpose.
-
- I suggest placing MidiLib files in a dedicated folder.
-
- If anyone has any questions, I can be reached via GEnie either by MAIL or
- at the MIDI forum. I would welcome any suggestions for improvement.
-
- Michael Williams
- 01/08/88
-
- P.S. MidiLib was written in LightSpeed C.
-